#pragma once
#include "CSocketListener.h"
#include "CControlClientManager.h"
class CSocketServer
{
	friend class CSocketIdentifiableAccepter;
public:
	CSocketServer();
	~CSocketServer();
public:
	CSocketListener* m_pSocketListener;
	CControlClientManager* m_pSocketClientManager;
public:
	int InitServer(ST_SERVERINFO_OBJ serverInfoObj);
	int GetSocketError();
	int StartServer();
	void CloseServer();
};

